package com.xujl.utilslibrary.other;

import android.app.Application;

import com.xujl.utilslibrary.system.DelegateApplication;

/**
 * Created by xujl on 2017/11/22.
 */

public class DebugConfig {
    public static final DebugConfig DEBUG_CONFIG = new DebugConfig();
    private boolean mIsDebug;

    private DebugConfig () {
    }

    public static DebugConfig getInstance () {
        return DEBUG_CONFIG;
    }

    public static void setDebug (boolean debug) {
        getInstance().mIsDebug = debug;
    }

    public static boolean isDebug () {
        return getInstance().mIsDebug;
    }
}
